|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.OpponentModel
negotiator.boaframework.opponentmodel.AgentLGModel
public class AgentLGModel
Adaptation of the opponent model used by AgentLG in the ANAC2012 to be compatible with the BOA framework. Note that originally, the model sums up all value scores which entails that the total preference of a bid can be as high as offered bids * issues. The value score was equal to the amount of times the value was offered divided by total amount of bids offered by the opponent. In my implementation I normalize each value score by the highest value, similar to the implementation of preference profiles in Genius. Finally I sum all results and divide by the amount of issues. This is identical to assuming that the issue weights are uniform. Tim Baarslag, Koen Hindriks, Mark Hendrikx, Alex Dirkzwager and Catholijn M. Jonker. Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies
| Field Summary |
|---|
| Fields inherited from class negotiator.boaframework.OpponentModel |
|---|
negotiationSession, opponentUtilitySpace |
| Constructor Summary | |
|---|---|
AgentLGModel()
|
|
| Method Summary | |
|---|---|
void |
cleanUp()
Removes references to the objects used by the opponent model. |
double |
getBidEvaluation(Bid bid)
Determines the utility of a bid according to the preference profile. |
java.lang.String |
getName()
|
UtilitySpace |
getOpponentUtilitySpace()
|
double |
getWeight(Issue issue)
Returns the weight of a particular issue in the domain. |
void |
init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initialize the opponent model by creating an object to keep track of the values for each issue. |
void |
updateModel(Bid opponentBid,
double time)
Update the opponent model by updating the value score for each issue. |
| Methods inherited from class negotiator.boaframework.OpponentModel |
|---|
endSession, getIssueWeights, init, isCleared, loadData, setOpponentUtilitySpace, setOpponentUtilitySpace, storeData, updateModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgentLGModel()
| Method Detail |
|---|
public void init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
throws java.lang.Exception
init in class OpponentModelnegotiationSession - reference to the state of the negotiation
java.lang.Exception
public void updateModel(Bid opponentBid,
double time)
updateModel in class OpponentModelopponentBid - time - of offeringpublic double getBidEvaluation(Bid bid)
OpponentModel
getBidEvaluation in class OpponentModelbid - of which the utility is calculated.
public double getWeight(Issue issue)
OpponentModel
getWeight in class OpponentModelissue - from which the weight should be returned
public UtilitySpace getOpponentUtilitySpace()
getOpponentUtilitySpace in class OpponentModelpublic void cleanUp()
OpponentModel
cleanUp in class OpponentModelpublic java.lang.String getName()
getName in class OpponentModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||